package com.example.management.system.service


import com.example.management.system.domain.UserDO
import com.example.management.system.domain.UserOnline
import org.apache.shiro.session.Session
import org.springframework.stereotype.Service

@Service
interface SessionService {
    fun list(): List<UserOnline>

    fun listOnlineUser(): List<UserDO>

    fun sessionList(): Collection<Session>

    fun forceLogout(sessionId: String): Boolean
}
